interface Props {
    label: string;
    onClick: () => void;
    className?: string;
}

/**
 * [BASIC] 按钮
 * @param label 按钮文字
 * @param onClick 点击触发函数
 * @param className 扩展
 */
function BaseButton({
                        label = "Null",
                        onClick = () => {
                        },
                        className = ''
                    }: Props) {
    return (
        <button
            className={`btn w-30 ${className}`}
            onClick={onClick}
        >
            {label}
        </button>
    )
}

export default BaseButton
